<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no"/>
    <link rel="stylesheet" href="/resource/css/base.css"/>
</head>
<body  onload="autosubmit()">

<div class="nav">
    <span class="arrow goback"><em></em></span>
</div>
<div class="nav-wrap"></div>

<div class="grid">

    <form method="post" action="https://m.jdpay.com/wepay/web/pay" id="payForm">
        <!--交易信息 start-->
      
          <?php if($_SESSION ['tradeInfo']!=null){?>
        <input type="hidden" name="version" value="<?php echo $_SESSION ['tradeInfo']['version'];?>"/>
        <input type="hidden" name="token" value="<?php echo $_SESSION ['tradeInfo']['token'];?>"/>
        <input type="hidden" name="merchantSign" value="<?php echo $_SESSION ['tradeInfo']['merchantSign'];?>"/>
        <input type="hidden" name="merchantNum" value="<?php echo $_SESSION ['tradeInfo']['merchantNum'];?>"/>
        <input type="hidden" name="merchantRemark" value="<?php echo $_SESSION ['tradeInfo']['merchantRemark'];?>"/>
        <input type="hidden" name="tradeNum" value="<?php echo $_SESSION ['tradeInfo']['tradeNum'];?>"/>
        <input type="hidden" name="tradeName" value="<?php echo $_SESSION ['tradeInfo']['tradeName'];?>"/>
        <input type="hidden" name="tradeDescription" value="<?php echo $_SESSION ['tradeInfo']['tradeDescription'];?>"/>
        <input type="hidden" name="tradeTime" value="<?php echo $_SESSION ['tradeInfo']['tradeTime'];?>"/>
        <input type="hidden" name="tradeAmount" value="<?php echo $_SESSION ['tradeInfo']['tradeAmount'];?>"/>
        <input type="hidden" name="currency" value="<?php echo $_SESSION ['tradeInfo']['currency'];?>"/>
        <input type="hidden" name="notifyUrl" value="<?php echo $_SESSION ['tradeInfo']['notifyUrl'];?>"/>
        <input type="hidden" name="successCallbackUrl" value="<?php echo $_SESSION ['tradeInfo']['successCallbackUrl'];?>"/>
        <input type="hidden" name="failCallbackUrl" value="<?php echo $_SESSION ['tradeInfo']['failCallbackUrl'];?>"/>
         <?php if( $_SESSION ['tradeInfo']['specifyInfoJson']!=null){?>
         <input type="hidden" name="specifyInfoJson" value="<?php echo $_SESSION ['tradeInfo']['specifyInfoJson'];?>"/>
        <?php }?>
        <?php }?>
       
             
        <!--交易信息 end-->
    </form>

</div>
<script src="../static/js/zepto.js"></script>
<script>
    function autosubmit(){
            document.getElementById("payForm").submit();
        }
</script>
</body>
</html>
